using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN MenusEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: MenusEntityBase</para>
	/// <para>Description: ClassMenusEntityBase store data of table Menus</para>
	///</summary>

	[DataContract]
	public  class MenusEntityBase{


		private bool _InternalChangedIsNullMenu_ID=true;
		private bool _IsNullMenu_ID=true;
		private bool _InternalChangedIsNullMenuName=true;
		private bool _IsNullMenuName=true;
		private bool _InternalChangedIsNullMenuTitle=true;
		private bool _IsNullMenuTitle=true;
		private bool _InternalChangedIsNullIcon=true;
		private bool _IsNullIcon=true;
		private bool _InternalChangedIsNullURL=true;
		private bool _IsNullURL=true;
		private bool _InternalChangedIsNullModule_ID=true;
		private bool _IsNullModule_ID=true;
		private bool _InternalChangedIsNullMenuParent_ID=true;
		private bool _IsNullMenuParent_ID=true;
		private bool _InternalChangedIsNullMenuIndex=true;
		private bool _IsNullMenuIndex=true;
		private int _Menu_ID;
		private string _MenuName;
		private string _MenuTitle;
		private string _Icon;
		private string _URL;
		private int _Module_ID;
		private int _MenuParent_ID;
		private int _MenuIndex;
		[DataMember]
		public bool IsNullMenu_ID{
			get{return _IsNullMenu_ID;}
			set{if(!_InternalChangedIsNullMenu_ID)_IsNullMenu_ID=value;}
		}
		[DataMember]
		public bool IsNullMenuName{
			get{return _IsNullMenuName;}
			set{if(!_InternalChangedIsNullMenuName)_IsNullMenuName=value;}
		}
		[DataMember]
		public bool IsNullMenuTitle{
			get{return _IsNullMenuTitle;}
			set{if(!_InternalChangedIsNullMenuTitle)_IsNullMenuTitle=value;}
		}
		[DataMember]
		public bool IsNullIcon{
			get{return _IsNullIcon;}
			set{if(!_InternalChangedIsNullIcon)_IsNullIcon=value;}
		}
		[DataMember]
		public bool IsNullURL{
			get{return _IsNullURL;}
			set{if(!_InternalChangedIsNullURL)_IsNullURL=value;}
		}
		[DataMember]
		public bool IsNullModule_ID{
			get{return _IsNullModule_ID;}
			set{if(!_InternalChangedIsNullModule_ID)_IsNullModule_ID=value;}
		}
		[DataMember]
		public bool IsNullMenuParent_ID{
			get{return _IsNullMenuParent_ID;}
			set{if(!_InternalChangedIsNullMenuParent_ID)_IsNullMenuParent_ID=value;}
		}
		[DataMember]
		public bool IsNullMenuIndex{
			get{return _IsNullMenuIndex;}
			set{if(!_InternalChangedIsNullMenuIndex)_IsNullMenuIndex=value;}
		}
		[DataMember]
		public int Menu_ID{
			get{return _Menu_ID;}
			set{
				_Menu_ID=value;
				if(_Menu_ID!=null){
					_IsNullMenu_ID=false;
					_InternalChangedIsNullMenu_ID=true;
				}
			}
		}
		[DataMember]
		public string MenuName{
			get{return _MenuName;}
			set{
				_MenuName=value;
				if(_MenuName!=null){
					_IsNullMenuName=false;
					_InternalChangedIsNullMenuName=true;
				}
			}
		}
		[DataMember]
		public string MenuTitle{
			get{return _MenuTitle;}
			set{
				_MenuTitle=value;
				if(_MenuTitle!=null){
					_IsNullMenuTitle=false;
					_InternalChangedIsNullMenuTitle=true;
				}
			}
		}
		[DataMember]
		public string Icon{
			get{return _Icon;}
			set{
				_Icon=value;
				if(_Icon!=null){
					_IsNullIcon=false;
					_InternalChangedIsNullIcon=true;
				}
			}
		}
		[DataMember]
		public string URL{
			get{return _URL;}
			set{
				_URL=value;
				if(_URL!=null){
					_IsNullURL=false;
					_InternalChangedIsNullURL=true;
				}
			}
		}
		[DataMember]
		public int Module_ID{
			get{return _Module_ID;}
			set{
				_Module_ID=value;
				if(_Module_ID!=null){
					_IsNullModule_ID=false;
					_InternalChangedIsNullModule_ID=true;
				}
			}
		}
		[DataMember]
		public int MenuParent_ID{
			get{return _MenuParent_ID;}
			set{
				_MenuParent_ID=value;
				if(_MenuParent_ID!=null){
					_IsNullMenuParent_ID=false;
					_InternalChangedIsNullMenuParent_ID=true;
				}
			}
		}
		[DataMember]
		public int MenuIndex{
			get{return _MenuIndex;}
			set{
				_MenuIndex=value;
				if(_MenuIndex!=null){
					_IsNullMenuIndex=false;
					_InternalChangedIsNullMenuIndex=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MenusEntityBase*****************************************/
	/*****************************************************************************************************/
}

